package com.appkubes.fintech.restful.application.user.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @Author: wuzhijian
 * @Date: 2019/12/27
 * @Description: 进件用户基本信息
 */
@Data
public class UserBaseInfoVO {

    @ApiModelProperty("用户key")
    @NotBlank(message = "用户key不能为空")
    private String userKey;

    @ApiModelProperty("姓名")
    @NotBlank(message = "姓名不能为空")
    @Length(min = 2, max = 16, message = "姓名长度不符，请输入正确信息！")
    private String realName;

    @ApiModelProperty("手机")
    @NotBlank(message = "手机不能为空")
    @Length(min = 11, max = 11, message = "手机号长度不符，请输入正确信息！")
    private String phone;
    /**
     * 身份证号
     */
    @ApiModelProperty("身份证号码")
    @NotBlank(message = "身份证号码不能为空")
    @Length(min = 15, max = 18, message = "身份证长度长度不符，请输入正确信息！")
    private String identityNum;


    @ApiModelProperty("居住省份")
    @NotBlank(message = "居住省份不能为空")
    private String livingProvince;

    @ApiModelProperty("居住城市")
    @NotBlank(message = "居住城市不能为空")
    private String livingCity;

    @ApiModelProperty("居住区域")
    @NotBlank(message = "居住区域不能为空")
    private String livingDistrict;


    @ApiModelProperty("居住详细地址")
    @NotBlank(message = "居住详细地址不能为空")
    private String livingDetail;

    @ApiModelProperty("房屋类型")
//    @NotBlank(message = "房屋类型不能为空")
    private String housing;

    @ApiModelProperty("房屋性质")
//    @NotBlank(message = "房屋性质不能为空")
    private String livingType;

    @ApiModelProperty("学历")
    @NotBlank(message = "学历不能为空")
    private String education;


    @ApiModelProperty("婚姻状况")
    @NotBlank(message = "婚姻状况不能为空")
    private String marriage;


}
